#include "stdinc.h"
#include <stdio.h>
#include "Interface.h"
#include "StateListener.h"


using namespace DwarfFort;


StateListener::StateListener(eGameState gameState)
:mGameState(gameState)
{
	DwarfFort::Interface::getSingleton().registerStateListener(this,gameState);
}

StateListener::~StateListener()
{
	DwarfFort::Interface::getSingleton().unRegisterStateListener(this,mGameState);

}